<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch($route->getAdminAction())
{
	case "add": require_once ADMIN.DS."smiles".DS."add.php"; break;
	case "edit": require_once ADMIN.DS."smiles".DS."edit.php"; break;
	case "delete": require_once ADMIN.DS."smiles".DS."delete.php"; break;
	
	default: require_once ADMIN.DS."smiles".DS."list.php";
}

?>